package com.sundae.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by superace on 2017/8/5.
 */

@Controller
@RequestMapping("")
public class AccountController {

    @RequestMapping("/Login")
    public ModelAndView Login()
    {

        ModelAndView modelAndView = new ModelAndView("login");
        return modelAndView;
    }

    @RequestMapping("/Register")
    public ModelAndView Register()
    {
        ModelAndView modelAndView = new ModelAndView("register");
        return modelAndView;
    }

}
